package com.zyk.scaffold.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zyk.scaffold.user.domain.FunctionMessage;
import com.zyk.scaffold.user.entity.Function;
import com.zyk.scaffold.user.entity.TenantFunction;

import java.util.List;

/**
 * <p>
 * 租户-功能表 服务类
 * </p>
 *
 * @author zhouyk
 * @since 2022-11-04
 */
public interface TenantFunctionService extends IService<TenantFunction> {

    List<Function> getFunctionsByTenantCode(String tenantCode);

    List<FunctionMessage> queryTenantCodesFunction(List<String> tenantCodes);

    List<TenantFunction> getTenantFunctionsByTenantCode(String tenantCode);

    Boolean syncSuperTenantFunctionData(List<Long> addIds, List<Long> deletedIds);
}
